﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Drawing.Printing;
using Pos.SharedLibrary;

namespace POS
{
    public partial class test : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void btn_print_click(object sender, EventArgs e)
        {
            ////printer 1:
            //Print print1 = new Print("shushi", "5.5", "Snagit 10", GlobalManager.OrderType.Deliver);
            //print1.PrintDocument();

            //printer 2:
            Print print2 = new Print("fish", "7.5", "Microsoft XPS Document Writer", GlobalManager.OrderType.Deliver);
            print2.PrintDocument();
        }

    }
}